home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 7
/
CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso
/
• The School House •
/
MacMorse 1.0B •••
/
MacMorse 1.0B еее.rsrc
/
CODE_4.txt
< prev
next >
Wrap
Text File
|
1986-10-28
|
12KB
|
213 lines
# near model CODE resource
# jump table entries: 160-163 (4 of them)
export_22:
00000000 203C 0000 FFFF move.l D0, 0xFFFF
00000006 A032 syscall FlushEvents
00000008 422D F81B clr.b [A5 - 0x7E5]
0000000C 42AD FD5A clr.l [A5 - 0x2A6]
00000010 42AD FD5E clr.l [A5 - 0x2A2]
00000014 42AD FD3E clr.l [A5 - 0x2C2]
00000018 42AD FD6A clr.l [A5 - 0x296]
0000001C 422D F7BA clr.b [A5 - 0x846]
00000020 1B7C 00FF F7BB move.b [A5 - 0x845], 0xFF
00000026 422D F7BC clr.b [A5 - 0x844]
0000002A 3B78 0A5A FD96 move.w [A5 - 0x26A], [0x00000A5A /* CurMap */]
00000030 4EBA 0120 jsr [PC + 0x120 /* 00000152 */]
00000034 598F subq.l A7, 4
00000036 486D F62A pea.l [A5 - 0x9D6]
0000003A 487A 0278 pea.l [PC + 0x278 /* 000002B4, value 0x260004, cstring "" */]
0000003E 487A 0268 pea.l [PC + 0x268 /* 000002A8, value 0xB5A4261 */]
00000042 4267 clr.w -[A7]
00000044 3F3C 0000 move.w -[A7], 0x0
00000048 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
0000004E 3F3C FFFF move.w -[A7], 0xFFFF
00000052 42A7 clr.l -[A7]
00000054 A913 syscall NewWindow
00000056 2B57 F902 move.l [A5 - 0x6FE], [A7]
0000005A A873 syscall SetPort
0000005C 206D FFFC movea.l A0, [A5 - 0x4]
00000060 2B48 F7FA move.l [A5 - 0x806], A0
00000064 7004 moveq.l D0, 0x04
00000066 3140 0044 move.w [A0 + 0x44], D0
0000006A 3B40 FDAE move.w [A5 - 0x252], D0
0000006E 7009 moveq.l D0, 0x09
00000070 3140 004A move.w [A0 + 0x4A], D0
00000074 3B40 F8A2 move.w [A5 - 0x75E], D0
00000078 486D F86A pea.l [A5 - 0x796]
0000007C A88B syscall GetFontInfo
0000007E 2F2D F902 move.l -[A7], [A5 - 0x6FE]
00000082 A904 syscall DrawGrowIcon
00000084 206D FFFC movea.l A0, [A5 - 0x4]
00000088 2B68 0010 F87E move.l [A5 - 0x782], [A0 + 0x10]
0000008E 2B68 0014 F882 move.l [A5 - 0x77E], [A0 + 0x14]
00000094 04AD 000F 000F F882 subi.l [A5 - 0x77E], 0xF000F
0000009C 486D F87E pea.l [A5 - 0x782]
000000A0 A87B syscall ClipRect
000000A2 206D FFFC movea.l A0, [A5 - 0x4]
000000A6 4268 0042 clr.w [A0 + 0x42]
000000AA A89E syscall PenNormal
000000AC 486D FFEC pea.l [A5 - 0x14]
000000B0 A89D syscall PenPat
000000B2 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */
000000B8 A862 syscall ForeColor
000000BA 3F3C 0002 move.w -[A7], 0x2
000000BE 3F2D F8A2 move.w -[A7], [A5 - 0x75E]
000000C2 A893 syscall MoveTo
000000C4 598F subq.l A7, 4
000000C6 A8D8 syscall NewRgn
000000C8 2B5F F872 move.l [A5 - 0x78E], [A7]+
000000CC 426D F822 clr.w [A5 - 0x7DE]
000000D0 203C 0000 1000 move.l D0, 0x1000
000000D6 A31E syscall NewPtrClear, flags=3
000000D8 6620 bne +0x22 /* 000000FA */
000000DA 41E8 0400 lea.l A0, [A0 + 0x400]
000000DE 2B48 F750 move.l [A5 - 0x8B0], A0
000000E2 422D F818 clr.b [A5 - 0x7E8]
000000E6 59A7 subq.l -[A7], 4
000000E8 2F3C 414E 4459 move.l -[A7], 0x414E4459 /* 'ANDY' */
000000EE 487A 01CC pea.l [PC + 0x1CC /* 000002BC, value 0x7476172, pstring "Gariepy" */]
000000F2 A9A1 syscall GetNamedResource
000000F4 2B5F FDB0 move.l [A5 - 0x250], [A7]+
000000F8 6606 bne +0x8 /* 00000100 */
label000000FA:
000000FA 7019 moveq.l D0, 0x19
000000FC A9C9 syscall SysError
000000FE A9FF syscall Debugger
export_21:
label00000100:
00000100 206D FDB0 movea.l A0, [A5 - 0x250]
00000104 A029 syscall HLock
00000106 206D FDB0 movea.l A0, [A5 - 0x250]
0000010A 2050 movea.l A0, [A0]
0000010C 7204 moveq.l D1, 0x04
0000010E 43ED FEC4 lea.l A1, [A5 - 0x13C]
label00000112:
00000112 22D8 move.l [A1]+, [A0]+
00000114 51C9 FFFC dbf D1, -0x6 /* 00000112 */
00000118 7209 moveq.l D1, 0x09
0000011A 7000 moveq.l D0, 0x00
0000011C 7400 moveq.l D2, 0x00
0000011E 342D FEC4 move.w D2, [A5 - 0x13C]
00000122 5A82 addq.l D2, 5
00000124 5882 addq.l D2, 4
label00000126:
00000126 4870 0800 pea.l [A0 + D0]
0000012A 22DF move.l [A1]+, [A7]+
0000012C D082 add.l D0, D2
0000012E 51C9 FFF6 dbf D1, -0xC /* 00000126 */
00000132 4E75 rts
export_20:
00000134 486D FFFC pea.l [A5 - 0x4]
00000138 A86E syscall InitGraf
0000013A A8FE syscall InitFonts
0000013C A912 syscall InitWindows
0000013E A930 syscall InitMenus
00000140 A9CC syscall TEInit
00000142 42A7 clr.l -[A7]
00000144 A97B syscall InitDialogs
00000146 203C 0000 FFFF move.l D0, 0xFFFF
0000014C A032 syscall FlushEvents
0000014E A850 syscall InitCursor
00000150 4E75 rts
fn00000152:
00000152 4EAD 00AA jsr [A5 + 0xAA /* export_17 */]
00000156 4A78 0944 tst.w [0x00000944 /* PrintErr */]
0000015A 6624 bne +0x26 /* 00000180 */
0000015C 422D FD87 clr.b [A5 - 0x279]
00000160 3B7C 00FF F83E move.w [A5 - 0x7C2], 0xFF
00000166 203C 0000 0078 move.l D0, 0x78 /* 'x' */
0000016C A122 syscall NewHandle, flags=1
0000016E 6610 bne +0x12 /* 00000180 */
00000170 2B48 FDA6 move.l [A5 - 0x25A], A0
00000174 2F08 move.l -[A7], A0
00000176 4EAD 00BA jsr [A5 + 0xBA /* export_19 */]
0000017A 42AD FDAA clr.l [A5 - 0x256]
0000017E 4E75 rts
label00000180:
00000180 50ED FD87 st [A5 - 0x279]
00000184 558F subq.l A7, 2
00000186 3F3C 0098 move.w -[A7], 0x98
0000018A 42A7 clr.l -[A7]
0000018C A987 syscall NoteAlert
0000018E 548F addq.l A7, 2
00000190 4E75 rts
export_23:
00000192 426D F7FE clr.w [A5 - 0x802]
00000196 426D F6CA clr.w [A5 - 0x936]
0000019A 422D F6CC clr.b [A5 - 0x934]
0000019E 426D F6CE clr.w [A5 - 0x932]
000001A2 42AD F6D0 clr.l [A5 - 0x930]
000001A6 422D F84E clr.b [A5 - 0x7B2]
000001AA 422D F759 clr.b [A5 - 0x8A7]
000001AE 422D FD88 clr.b [A5 - 0x278]
000001B2 422D F7BD clr.b [A5 - 0x843]
000001B6 7009 moveq.l D0, 0x09
000001B8 41ED F712 lea.l A0, [A5 - 0x8EE]
label000001BC:
000001BC 4298 clr.l [A0]+
000001BE 51C8 FFFC dbf D0, -0x6 /* 000001BC */
000001C2 422D F757 clr.b [A5 - 0x8A9]
000001C6 426D F90E clr.w [A5 - 0x6F2]
000001CA 42AD F780 clr.l [A5 - 0x880]
000001CE 2B7C 0300 0400 F784 move.l [A5 - 0x87C], 0x3000400
000001D6 422D F75A clr.b [A5 - 0x8A6]
000001DA 08AD 0001 F819 bclr.b [A5 - 0x7E7], 0x1
000001E0 1B7C 00FF FD8A move.b [A5 - 0x276], 0xFF
000001E6 422D FD89 clr.b [A5 - 0x277]
000001EA 422D F75C clr.b [A5 - 0x8A4]
000001EE 426D F804 clr.w [A5 - 0x7FC]
000001F2 42AD F77C clr.l [A5 - 0x884]
000001F6 422D FD86 clr.b [A5 - 0x27A]
000001FA 422D FD85 clr.b [A5 - 0x27B]
000001FE 422D F84F clr.b [A5 - 0x7B1]
00000202 426D F848 clr.w [A5 - 0x7B8]
00000206 426D F846 clr.w [A5 - 0x7BA]
0000020A 426D F844 clr.w [A5 - 0x7BC]
0000020E 426D F7F8 clr.w [A5 - 0x808]
00000212 426D FD94 clr.w [A5 - 0x26C]
00000216 42AD F778 clr.l [A5 - 0x888]
0000021A 42AD F824 clr.l [A5 - 0x7DC]
0000021E 426D F74C clr.w [A5 - 0x8B4]
00000222 426D F74E clr.w [A5 - 0x8B2]
00000226 42AD F7D6 clr.l [A5 - 0x82A]
0000022A 42AD F7DE clr.l [A5 - 0x822]
0000022E 42AD F7D2 clr.l [A5 - 0x82E]
00000232 42AD F7CE clr.l [A5 - 0x832]
00000236 42AD F7DA clr.l [A5 - 0x826]
0000023A 203C 0000 0400 move.l D0, 0x400
00000240 A31E syscall NewPtrClear, flags=3
00000242 6600 FEB6 bne -0x148 /* 000000FA */
00000246 2B48 F7BE move.l [A5 - 0x842], A0
0000024A 2B48 F7C2 move.l [A5 - 0x83E], A0
0000024E 2B48 F7C6 move.l [A5 - 0x83A], A0
00000252 D0FC 0400 add.w A0, 0x400
00000256 2B48 F7CA move.l [A5 - 0x836], A0
label0000025A:
0000025A 2B78 020C F7E2 move.l [A5 - 0x81E], [0x0000020C /* Time */]
00000260 42AD F7E6 clr.l [A5 - 0x81A]
00000264 426D F7EA clr.w [A5 - 0x816]
00000268 3B7C FFFF F840 move.w [A5 - 0x7C0], 0xFFFF
0000026E 3B7C FFFF F842 move.w [A5 - 0x7BE], 0xFFFF
00000274 3B7C 0080 F790 move.w [A5 - 0x870], 0x80
0000027A 3B7C 0080 F792 move.w [A5 - 0x86E], 0x80
00000280 41ED FB0E lea.l A0, [A5 - 0x4F2]
00000284 2B48 F830 move.l [A5 - 0x7D0], A0
00000288 2B7C FFFF FFFF F7AA move.l [A5 - 0x856], 0xFFFFFFFF
00000290 2B7C FFFF FFFF F7AE move.l [A5 - 0x852], 0xFFFFFFFF
00000298 42AD F7A2 clr.l [A5 - 0x85E]
0000029C 426D F7A6 clr.w [A5 - 0x85A]
000002A0 3B7C 0010 FD92 move.w [A5 - 0x26E], 0x10
000002A6 4E75 rts
000002A8 0B5A bchg [A2]+, D5
000002AA 4261 clr.w -[A1]
000002AC 7369 moveq.l D1, 0x69
000002AE 63AA bls -0x54 /* 0000025A */
000002B0 2033 2E30 move.l D0, [A3 + D2 * 8 + 0x30]
000002B4 0026 0004 ori.b -[A6], 0x4
000002B8 0140 bchg D0, D0
000002BA 01FE .incomplete
000002BC 0747 bchg D7, D3
000002BE 6172 bsr +0x74 /* 00000332 */
000002C0 6965 bvs +0x67 /* 00000327 */
000002C2 7079 moveq.l D0, 0x79